速報APP / 工具 / PhonePi Sensor Streamer

PhonePi Sensor Streamer

價格:免費

更新日期:2017-05-18

檔案大小:8.9M

目前版本:2.0

版本需求:Android 4.1 以上版本

官方網站:http://www.printthoughttrace.blogspot.in

Email:priyankar.kumar98@gmail.com

聯絡地址:A2 45, MIT QTRS, Manipal University Campus, Udupi Dist, Karnataka India 576104

PhonePi Sensor Streamer(圖1)-速報App

A short Note: A Pro version of this app was released on user request in May 2018. It can be accessed at https://play.google.com/store/apps/details?id=com.phonepiplus&hl=en_US

While both versions are suitable for use, the Pro version lets you choose the data format (CSV or JSON), timestamps each data point and has more robust support for all sensors.

It also streams userId field which is useful in a situation where multiple users stream information to a single server. The userId could then be used as a filter to distinguish between the users allowing you to do fun stuff like track the positions and chart out the movement of the users (for example).

Usage Details for this app: https://github.com/priyankark/PhonePi_SampleServer

(Please download the server from the above link and follow instructions in the README or follow instructions as outlined below)

PhonePi allows you to stream real-time data from sensors on your phone: Accelerometer, Gyroscope, Magnetometer, Orientation, Step Counter, Thermometer, Light Sensor, Proximity Sensor and Geolocation (Subject to availability on your device) to a WebSockets supporting server on your RaspberryPi.

PhonePi Sensor Streamer(圖2)-速報App

You can choose to build your own server to get the data or clone and use the server at https://github.com/priyankark/PhonePi_SampleServer

Assuming you are using the sample server:

Ensure that your RaspberryPi and phone are on the same network. Note the IP address of your RaspberryPi. Run the server on your Raspi (Steps are in the repository's README.md)

The URL in the app needs to be entered in the format:

ip_address_of_Raspi:5000

Enter update time for the required sensors that is the duration after which the data must be re-read and hit the switch. To disable, simply turn the switch off.

PhonePi Sensor Streamer(圖3)-速報App

Multiple sensor data can be read at once (subject to the availability of the sensors on your device). This project makes use of WebSockets for the transfer of data. The server writes the data into a txt file but one can modify the server code to do whatever python allows them to :)

PhonePi Sensor Streamer(圖4)-速報App